package com.example.custom.mybatis.entity;


/**
 * @author liyuncong
 * @version 1.0
 * @file user
 * @brief user
 * @details user
 * @date 2022-11-13
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                     NAME               DESCRIPTION
 * 2022-11-13               liyuncong          Created
 */
public class Userinfo {

    private Integer id;
    private String username;
    private Integer age;
    private Integer gender;

    public Userinfo() {
    }

    public Userinfo(Integer id, String username, Integer age, Integer gender) {
        this.id = id;
        this.username = username;
        this.age = age;
        this.gender = gender;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "Userinfo{" +
            "id=" + id +
            ", username='" + username +
            ", age=" + age +
            ", gender=" + gender +
            '}';
    }
}
